import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './plugins/element.js'
import './assets/css/global.css'
import './assets/iconfont'
import 'babel-polyfill'
import axios from 'axios'
import BaiduMap from 'vue-baidu-map'
import waterfall from 'vue-waterfall2'
// 引入vue-fullpage
// import 'fullpage.js/dist/fullpage.css'
import 'fullpage.js/vendors/scrolloverflow';
import VueFullPage from 'vue-fullpage.js';

// 使用fullpage 插件
Vue.use(VueFullPage);
// 使用瀑布式布局
Vue.use(waterfall);
// 使用百度地图
Vue.use(BaiduMap, {
  ak: 'GHRLvAUurlir4dfIucQsDpBGRdGhN4sH'
})

Vue.prototype.$http = axios
Vue.config.productionTip = false
// axios.defaults.baseURL = 'http://localhost:8080/ROOT/'
axios.defaults.baseURL = 'http://8.135.32.178:8080/mylab_api/'

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
